package cn.yiueil.service.impl;

import cn.yiueil.entity.User;
import cn.yiueil.service.UserService;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class UserServiceImpl implements UserService {
    @Override
    public User getUser(Long id) {
        return new User(1L, "张三");
    }

    @Override
    public void login() {
        log.info("user login");
    }

    @Override
    public void register() {
        log.info("user register");
    }

    @Override
    public void exception() {
        log.info("user exception");
    }
}
